package com.jingwu.example.repository;

import com.jingwu.example.pojo.entity.BarDO;
import com.jingwu.example.remote.DummyRemoteClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 * @author 菁芜
 * @date 2021/1/3 -16:12
 */
@Repository
public class BarRepository {

    @Autowired
    private DummyRemoteClient client;

    public BarDO getByFooId(String fooId) {
        return client.getByFooId(fooId);
    }


}
